<div id="content" class="postie">
    <h1><?=$data->TITLE?></h1>
    <?
        $p = $data->postie->account;
        include 'apps/profile/template/mini.html';
    ?>
    <a class="recipientName" href="/profile/<?=$data->postie->account->ID?>" title="<?=$data->postie->account->fullname?>"><?=$data->postie->account->fullname?></a>
    <div class="clear"></div>
    <form id="form" method="POST" action="/json<?=PREFIX.'/'.APP.'/'.CMD?>">
        <div class="formLineDark">
            <label class="formLabel"><?=_('Subject')?>: </label>
            <span class="input"><input id="title" class="formLineWide" name="title" type="text" tabindex="1" /></span>
        <span class="clear"></span>
        </div>
        <div class="formLineLight">
            <label class="formLabel"><?=_('Message')?>: </label>
            <span class="textarea"><textarea id="message" class="formLineWide" name="message" tabindex="2"></textarea></span>
            <span class="clear"></span>
        </div>
        <div class="formLineDark">
            <span class="submit">
                <span id="loader" class="loader"><img src="/themes/<?=THEME?>/images/loader.gif" alt="loader" /></span>
                <input name="RID" type="hidden" value="<?=$data->postie->account->ID?>" />
                <input id="submit" class="submit" type="submit" value="<?=_('Send')?>" tabindex="3" />
                <span class="clear"></span>
            </span>
        <span class="clear"></span>
        </div>
    </form>
</div>
<div id="aside"></div>
<script type="text/javascript">tool.form();</script>